<?php

/*controller et action par defaut*/
$default_controller = 'db';
$default_action     = 'index';
/*********************************/


define('WEBROOT', str_replace('index.php', '', $_SERVER['SCRIPT_NAME']));
define('ROOT', str_replace('index.php','',$_SERVER['SCRIPT_FILENAME']));

define('DEFAULT_CONTROLLER', $default_controller);
define('DEFAULT_ACTION', $default_action);

?>